package com.suse.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class PageController {
    @GetMapping("/list")
    public String list() {
        return "userInfo_list";
    }

    @GetMapping("/list2")
    public String list2() {
        return "employer_list";
    }

    // index页面
    @GetMapping("/index")
    public String index() {
        return "index";
    }

    // login页面
    @GetMapping("/login")
    public String login() {
        return "login";
    }

    @GetMapping("/info")
    public String info() {
        return "info";
    }
}
